package com.code;

public class StudentTest2 {

	public static void main(String[] args) {
		Student stu = new Student("ceshi","123");
		stu.test = "56456464646";
		System.out.println(stu);
		System.out.println(stu.hashCode());
		Student2 stu2 = new Student2("ceshi","123");
		System.out.println(stu2);
		stu2.test = "8888888888";
		System.out.println(stu2.hashCode());
		
		System.out.println(stu2.equals(stu));
	}

}
